package edu.gdkm.demo;

public class TeacherTest2 {
    public static void main(String[] args) {
        Teacher t1 = new Teacher();
        t1.print();

        t1.setSalary(-2000);
        System.out.println(t1.getSalary());



    }
}
